* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    margin: 0; 
    padding: 0;
    overflow: hidden;
    width: 100%;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}


.container, #vue-Calculate, #vue-Calculate-v2{
    margin: 10px;
    width: 400px;
    min-width: 400px;
    height: 300px;
    max-height: 300px;
    background-color: rgb(238, 238, 238);
    box-shadow: 0 0 5px rgba(29, 29, 29, 0.8);
    border-radius: 20px;
    overflow: hidden;
    transition: box-shadow 0.1s linear, transform .2s ease-in-out;
}

.container::before{
    content: "js version V1";
    position: absolute;
    transform: translateX(20px);
}
#vue-Calculate::before{
    content: "vue version V1";
    position: absolute;
    transform: translateX(20px);
}
#vue-Calculate-v2::before{
    content: "vue version V2";
    position: absolute;
    transform: translate(20px);
}


.container:active,
.container:hover, #vue-Calculate:hover, #vue-Calculate-v2:hover{
    box-shadow: 0 0 10px rgb(0, 0, 0);
    transform: translateY(-10px);
}

.output {
    float: left;
    width: 50%;
    height: 50%;
    padding: 20px;
    text-align: center;
    font-size: 20px;
}

.input {
    font-size: 20px;
    float: left;
    width: 100%;
    height: 12.5%;
    text-align: center;
}

.input > input{
    height: 30px;
}

.btn {
    float: left;
    width: 100%;
    height: 25%;
}

.btn > input{
    background-color: rgb(255, 180, 82);
    font-size: 30px;
    width: 100%;
    height: 100%;
    border: none;
    transition: .2s ease-out;
}
.btn > input:hover{
    background-color: rgb(255, 95, 95);
}

#vue-Calculate-v2 .output-v2{
    display: flex;
    height: 40%;
    justify-content: center;
}
#vue-Calculate-v2 .output-v2 > div{
    padding: 20px;
    text-align: center;
    font-size: 20px;
}
#vue-Calculate-v2 .input-v2{
    font-size: 20px;
    height: 35%;
    text-align: center;
}
#vue-Calculate-v2 .input-v2 input {
    height: 30px;
}